package com.java.crazy.part1.类型;

import com.java.crazy.base.BaseClass;

public class MyClassify extends BaseClass {
    static byte aByte = 127, bByte = -128;//-128-127,占用8位，4个字节 -2~7 ---- 2~7-1
    static char ch0 = 30127;
    static char ch1 = 'a';
    static char enterCher = '\r';
    static char ch2 = '\u9999';
    static char ch3 = '疯';
    static int zhongValue = ch3;
    static int intdemo;

    public static void main(String[] args) {
        logi("int char byte：");
        ByteDemo();
    }

    private static void ByteDemo() {
        //原因：System.out.println输出有缓存，System.err.println是立即输出，可能在输出1或2，还没有输出换行时输出3。
          int intdemo2=0;
        logi("aByte + bByte=" + (aByte + bByte));
        logi("ch0=" + ch0);
        logi("ch1=" + ch1);
        logi("enterCher=" + enterCher);
        logi("ch2=" + ch2);
        logi("intdemo=" + intdemo);
        logi("intdemo2=" + intdemo2);
        logi("zhongValue=" + zhongValue);

    }
}
